import type { MenuProps } from "antd";
import {
  AppstoreOutlined,
  ContainerOutlined,
  DesktopOutlined,
  MailOutlined,
  MenuFoldOutlined,
  MenuUnfoldOutlined,
  PieChartOutlined,
} from "@ant-design/icons";
type MenuItem = Required<MenuProps>["items"][number];

export const items: MenuItem[] = [
  {
    key: "/dashboard/home",
    label: "首页",
    icon: <AppstoreOutlined />,
  },
  {
    key: "/dashboard/mailTemp",
    label: "邮件模板",
    icon: <ContainerOutlined />,
    children: [
      {
        key: "/dashboard/html",
        label: "HTML邮件",
        icon: <MailOutlined />,
      },
      {
        key: "/dashboard/share",
        label: "引用分享",
        icon: <DesktopOutlined />,
      },
      {
        key: "/dashboard/temp",
        label: "邮件模板",
        icon: <MenuFoldOutlined />,
      },
    ],
  },
  {
    key: "3",
    label: "推送记录",
    icon: <MenuUnfoldOutlined />,
  },
  {
    key: "4",
    label: "素材库",
    icon: <PieChartOutlined />,
  },
];
